﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:myTwitter_Model="clr-namespace:myTwitter.Model"
	xmlns:myTwitter_Converters="clr-namespace:myTwitter.Converters"
	xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
	xmlns:myTwitter_CustomControls="clr-namespace:myTwitter.CustomControls"
	xmlns:myTwitter_DataTemplateSelectors="clr-namespace:myTwitter.DataTemplateSelectors"
	xmlns:SampleData="clr-namespace:Expression.Blend.SampleData.SampleDataSource"
	xmlns:myBoard_Framework_Effects="clr-namespace:myBoard.Framework.Effects;assembly=myBoard.Framework"
	xmlns:local="clr-namespace:myTwitter"
	xmlns:myBoard_Framework_Controls="clr-namespace:myBoard.Framework.Controls;assembly=myBoard.Framework"
	xmlns:myTwitter_CutomControls="clr-namespace:myTwitter.CutomControls"
	x:Class="myTwitter.CustomControls.IMessagesControl"
	x:Name="UserControl" Width="298">
	<UserControl.Resources>
	    
	<ResourceDictionary>
		<ResourceDictionary.MergedDictionaries>
	      <ResourceDictionary Source="../SharedResources.xaml"/>
	    </ResourceDictionary.MergedDictionaries>	
  
    
		<myTwitter_Converters:TextToFlowDocumentConverter x:Key="TextToFlowDocumentConverter"/>
		<myTwitter_Converters:CharactersLeftConverter x:Key="CharactersLeftConverter"/>
		<myTwitter_Converters:ElapsedTimeConverter x:Key="ElapsedTimeConverter"/>
		<Style x:Key="ButtonFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Rectangle Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="2" SnapsToDevicePixels="true"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<LinearGradientBrush x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
			<GradientStop Color="#F3F3F3" Offset="0"/>
			<GradientStop Color="#EBEBEB" Offset="0.5"/>
			<GradientStop Color="#DDDDDD" Offset="0.5"/>
			<GradientStop Color="#CDCDCD" Offset="1"/>
		</LinearGradientBrush>
		<SolidColorBrush x:Key="ButtonNormalBorder" Color="#FF707070"/>
		<Style x:Key="ButtonStyle1" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Border Margin="{TemplateBinding Padding}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1,1,1,1" CornerRadius="5,5,5,5">
							<Border Width="Auto" Height="Auto" BorderBrush="#FF2F566E" BorderThickness="1,1,1,1" CornerRadius="4,4,4,4">
								<Grid>
									<Grid.RowDefinitions>
										<RowDefinition Height="0.513*"/>
										<RowDefinition Height="0.487*"/>
									</Grid.RowDefinitions>
									<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.RowSpan="2"/>
									<Rectangle Stroke="{x:Null}" Height="Auto" VerticalAlignment="Stretch" RadiusY="3.5" RadiusX="3.5">
										<Rectangle.Fill>
											<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
												<GradientStop Color="#60FFFFFF" Offset="0"/>
												<GradientStop Color="#18FFFFFF" Offset="1"/>
											</LinearGradientBrush>
										</Rectangle.Fill>
									</Rectangle>
								</Grid>
							</Border>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<DataTemplate x:Key="FriendStatusTemplate">
			<DataTemplate.Resources>
				<Storyboard x:Key="ExpandActions">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
						<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="20" KeySpline="0,1,1,1"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="CollapseActions">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
						<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" KeySpline="0,1,1,1"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="ExpandAll">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
						<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="00:00:00.3000000" Value="100"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="CollapseAll">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
						<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="00:00:00.3000000" Value="0"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="BlurBackground">
					<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="workingTaskContainer" Storyboard.TargetProperty="(UIElement.Visibility)">
						<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
					</ObjectAnimationUsingKeyFrames>
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="workingTaskContainer" Storyboard.TargetProperty="(UIElement.Opacity)">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
						<SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1" KeySpline="0,1,1,1"/>
					</DoubleAnimationUsingKeyFrames>
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)">
						<SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="10" KeySpline="0,1,1,1"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="WheelsOn" RepeatBehavior="Forever">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_bigWheel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
						<SplineDoubleKeyFrame KeyTime="00:00:03" Value="360"/>
					</DoubleAnimationUsingKeyFrames>
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_smallWheel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
						<SplineDoubleKeyFrame KeyTime="00:00:03" Value="-360"/>
					</DoubleAnimationUsingKeyFrames>
					<StringAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_taskNaneTbk" Storyboard.TargetProperty="(TextBlock.Text)">
						<DiscreteStringKeyFrame KeyTime="00:00:03" Value="Translating ..."/>
					</StringAnimationUsingKeyFrames>
				</Storyboard>
			</DataTemplate.Resources>
			<Grid>
			<Grid x:Name="grid" Width="292" Height="Auto" HorizontalAlignment="Stretch" MouseEnter="Grid_MouseEnter" MouseLeave="Grid_MouseLeave">
				<Grid.Effect>
					<BlurEffect Radius="0"/>
				</Grid.Effect>
				<Grid.RowDefinitions>
					<RowDefinition Height="70"/>
					<RowDefinition Height="14"/>
					<RowDefinition Height="Auto"/>
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="0.168*"/>
					<ColumnDefinition Width="0.832*"/>
				</Grid.ColumnDefinitions>
				<Grid.Background>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#FF1B3B50" Offset="0"/>
						<GradientStop Color="#FF163449" Offset="1"/>
						<GradientStop Color="#FF1B3C51" Offset="0.517"/>
					</LinearGradientBrush>
				</Grid.Background>
				<myTwitter_CustomControls:ExRichTextBox HorizontalAlignment="Left" VerticalAlignment="Stretch" Grid.Column="1" Document="{Binding Path=Text, Converter={StaticResource TextToFlowDocumentConverter}, Mode=Default}" IsDocumentEnabled="True" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FFECECEC" Margin="5,5,5,0" Style="{DynamicResource ExRichTextBoxStyle1}" IsEnabled="True" PreviewKeyDown="ExRichTextBox_PreviewKeyDown"/>
				<StackPanel Grid.ColumnSpan="2" VerticalAlignment="Stretch" Orientation="Horizontal" Grid.Row="1" Margin="0,-1.481,0,0" Grid.RowSpan="1">
					<TextBlock Text="About" TextWrapping="Wrap" Foreground="#FF435D6E" Margin="9,0,0,0" FontSize="12"/>
					<TextBlock Margin="5,0,0,0" Foreground="#FFB0B0B0" Text="{Binding Path=CreatedAt, Converter={StaticResource ElapsedTimeConverter}, Mode=Default}" TextWrapping="Wrap" FontSize="12"/>
					<TextBlock Margin="5,0,0,0" Foreground="#FF435D6E" Text="from" TextWrapping="Wrap" FontSize="12"/>
					<TextBlock x:Name="_from" Margin="5,0,0,0" Foreground="#FFB0B0B0" Text="{Binding Path=User.Name, Mode=Default}" TextWrapping="Wrap" FontSize="12"/>
				</StackPanel>
				<Border x:Name="border" Margin="0,0,0,0" VerticalAlignment="Top" Height="0" Grid.Row="2" d:LayoutOverrides="Width" Grid.ColumnSpan="3" BorderThickness="0,0,0,0" BorderBrush="{x:Null}">
					<Border.Background>
						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="#FF1A3A4D" Offset="0"/>
							<GradientStop Color="#FF0C283A" Offset="1"/>
							<GradientStop Color="#FF163549" Offset="0.034"/>
							<GradientStop Color="#FF0F2C41" Offset="0.543"/>
						</LinearGradientBrush>
					</Border.Background>
					<StackPanel>
						<Border Height="19" BorderThickness="0,1,0,1" BorderBrush="#FF081B28">
							<StackPanel Orientation="Horizontal">
								<Button x:Name="_replyBt" Style="{DynamicResource StatusActionButtonStyle}" Width="47" Content="reply" Foreground="#FFE6E6E6" Cursor="Hand" Click="_replyBt_Click"/>
								<Button x:Name="_dmBt" Style="{DynamicResource StatusActionButtonStyle}" Width="47" Content="direct" Foreground="#FFE6E6E6" Cursor="Hand" Click="_dmBt_Click"/>								
								<Button x:Name="_reTwittBt" Style="{DynamicResource StatusActionButtonStyle}" Width="47" Content="retweet" Foreground="#FFE6E6E6" Cursor="Hand" Click="_reTwittBt_Click"/>
								<Button x:Name="_translateBt" Style="{DynamicResource StatusActionButtonStyle}" Width="50" Content="translate" Foreground="#FFE6E6E6" Cursor="Hand" Command="{Binding TranslateCommand}"/>
							</StackPanel>
						</Border>
						<Grid Height="Auto" Background="{x:Null}" Width="Auto">
							<StackPanel Margin="7,7,7,0" Height="Auto" Orientation="Vertical">
								<TextBox x:Name="_textMsg" HorizontalAlignment="Stretch" TextWrapping="Wrap" BorderBrush="#FFF7F7F8" FontSize="11" Margin="0,0,0,0" Style="{DynamicResource MessageTextboxStyle}" VerticalAlignment="Top" Width="278" Height="38" Text="" TextChanged="_textMsg_TextChanged">
									<TextBox.Background>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="#FFC9C9C9" Offset="0"/>
											<GradientStop Color="#FFF0F1F2" Offset="1"/>
										</LinearGradientBrush>
									</TextBox.Background>
								</TextBox>
								<StackPanel HorizontalAlignment="Stretch" Margin="0,6,0,0" VerticalAlignment="Bottom" Width="Auto" Height="23" Orientation="Horizontal">
									<Button x:Name="_sendBt" HorizontalAlignment="Stretch" VerticalAlignment="Top" Content="send" Margin="0,0,0,0" Style="{DynamicResource ButtonStyle1}" Cursor="Hand" Width="60" Height="23" BorderBrush="#FF16364C" Foreground="#FFFFFFFF" Click="_sendBt_Click">
										<Button.Background>
											<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
												<GradientStop Color="#FF132F44" Offset="0.616"/>
												<GradientStop Color="#FF214358" Offset="1"/>
											</LinearGradientBrush>
										</Button.Background>
									</Button>
									<Button x:Name="_cancelBt" HorizontalAlignment="Stretch" VerticalAlignment="Top" Content="cancel" Margin="10,0,0,0" Style="{DynamicResource ButtonStyle1}" Width="60" Height="23" BorderBrush="#FF16364C" Foreground="#FFFFFFFF" Cursor="Hand" Click="_cancelBt_Click">
										<Button.Background>
											<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
												<GradientStop Color="#FF132F44" Offset="0.616"/>
												<GradientStop Color="#FF214358" Offset="1"/>
											</LinearGradientBrush>
										</Button.Background>
									</Button>
								</StackPanel>
							</StackPanel>
						</Grid>
					</StackPanel>
				</Border>
				<Rectangle Fill="#FF3774A1" Stroke="{x:Null}" Margin="0,0,0,0" Grid.ColumnSpan="2" Height="1" VerticalAlignment="Bottom" Grid.Row="2"/>
				<Button x:Name="_userBt" VerticalAlignment="Top" d:LayoutOverrides="Width" BorderThickness="0,0,0,0" BorderBrush="{x:Null}" Style="{DynamicResource PictureButton}" Cursor="Hand" Click="_userBt_Click" HorizontalAlignment="Center" Margin="0,5,0,0">
					<Image Source="{Binding Path=User.ProfileImageUrl, Mode=Default}" Clip="M0,4.305 C0,1.9274142 1.9274142,0 4.305,0 L38.695,0 C41.072586,0 43,1.9274142 43,4.305 L43,38.695 C43,41.072586 41.072586,43 38.695,43 L4.305,43 C1.9274142,43 0,41.072586 0,38.695 z" Width="Auto" Height="Auto" Stretch="UniformToFill"/>
				</Button>
			</Grid>
			<Border x:Name="workingTaskContainer" HorizontalAlignment="Stretch" BorderBrush="Black" BorderThickness="1" Background="#4C000000" Visibility="Collapsed" Opacity="0">
				<StackPanel Orientation="Horizontal" d:LayoutOverrides="Height" HorizontalAlignment="Center" VerticalAlignment="Center">
					<TextBlock x:Name="_taskNaneTbk" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="26.667" Foreground="#FFEEEEEE" Text="Translating" TextWrapping="Wrap"/>
					<Grid Width="40" Height="40" Margin="10,0,0,0">
						<Canvas x:Name="Layer_1" Margin="0,-0.729,-44.049,-43" Width="Auto" Height="Auto" RenderTransformOrigin="0,0">
							<Canvas.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="0.5" ScaleY="0.5"/>
									<SkewTransform/>
									<RotateTransform/>
									<TranslateTransform/>
								</TransformGroup>
							</Canvas.RenderTransform>
							<Canvas x:Name="_bigWheel" Width="59.161" Height="59.161" Canvas.Left="24.888" Canvas.Top="24.568" RenderTransformOrigin="0.5,0.5">
								<Canvas.RenderTransform>
									<TransformGroup>
										<ScaleTransform/>
										<SkewTransform/>
										<RotateTransform/>
										<TranslateTransform/>
									</TransformGroup>
								</Canvas.RenderTransform>
								<Path Stretch="Fill" Width="19.074" Height="19.075" Data="F1M50.809,44.602C45.953,46.641,43.666,52.219,45.69,57.082L45.69,57.082C47.732,61.939,53.307,64.224,58.17,62.203L58.17,62.203C63.026,60.163,65.314,54.586,63.291,49.723L63.291,49.723C61.753,46.065,58.213,43.864,54.482,43.864L54.482,43.864C53.257,43.864,52.012,44.101,50.809,44.602" Canvas.Left="20.065" Canvas.Top="20.025">
									<Path.Fill>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="White" Offset="0"/>
											<GradientStop Color="#FFBDBDBD" Offset="1"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
								<Path Stretch="Fill" Width="59.161" Height="59.161" Data="F1M52.199,23.874C51.224,23.945,50.279,24.787,50.093,25.747L50.093,25.747C50.093,25.747,49.064,31.121,45.612,32.565L45.612,32.565C42.18,33.998,37.651,31.01,37.651,31.01L37.651,31.01C36.836,30.469,35.575,30.562,34.847,31.211L34.847,31.211L32.021,34.071C31.381,34.805,31.307,36.07,31.855,36.875L31.855,36.875C31.855,36.875,34.94,41.405,33.519,44.865L33.519,44.865C32.1,48.324,26.74,49.387,26.74,49.387L26.74,49.387C25.781,49.576,24.949,50.529,24.888,51.502L24.888,51.502L24.902,55.543C24.969,56.518,25.807,57.459,26.763,57.634L26.763,57.634C26.763,57.634,32.213,58.637,33.666,62.115L33.666,62.115C35.121,65.594,32.008,70.176,32.008,70.176L32.008,70.176C31.459,70.984,31.54,72.24,32.189,72.97L32.189,72.97L35.072,75.836C35.809,76.477,37.066,76.543,37.864,75.981L37.864,75.981C37.864,75.981,42.453,72.768,45.967,74.209L45.967,74.209C49.478,75.649,50.49,81.144,50.49,81.144L50.49,81.144C50.667,82.107,51.611,82.94,52.583,83L52.583,83L56.67,82.975C57.644,82.908,58.574,82.07,58.739,81.104L58.739,81.104C58.739,81.104,59.692,75.535,63.218,74.062L63.218,74.062C66.721,72.598,71.331,75.779,71.331,75.779L71.331,75.779C72.136,76.332,73.389,76.252,74.115,75.602L74.115,75.602L76.981,72.69C77.618,71.947,77.675,70.69,77.115,69.892L77.115,69.892C77.115,69.892,73.862,65.285,75.309,61.76L75.309,61.76C76.745,58.264,82.204,57.238,82.204,57.238L82.204,57.238C83.165,57.058,83.994,56.115,84.049,55.139L84.049,55.139L84.004,51.072C83.931,50.098,83.088,49.158,82.129,48.99L82.129,48.99C82.129,48.99,76.629,48.01,75.165,44.512L75.165,44.512C73.718,41.051,76.776,36.494,76.776,36.494L76.776,36.494C77.323,35.685,77.232,34.428,76.577,33.702L76.577,33.702L73.692,30.877C72.952,30.238,71.689,30.174,70.883,30.724L70.883,30.724C70.883,30.724,66.338,33.844,62.862,32.418L62.862,32.418C59.418,31.004,58.342,25.678,58.342,25.678L58.342,25.678C58.147,24.723,57.193,23.894,56.219,23.839L56.219,23.839z M40.696,59.17C37.51,51.549,41.104,42.795,48.721,39.607L48.721,39.607C56.343,36.424,65.096,40.016,68.283,47.635L68.283,47.635C71.47,55.256,67.877,64.01,60.258,67.195L60.258,67.195C58.373,67.983,56.418,68.357,54.495,68.357L54.495,68.357C48.647,68.357,43.095,64.904,40.696,59.17">
									<Path.Fill>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="White" Offset="0"/>
											<GradientStop Color="#FFBDBDBD" Offset="1"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
							</Canvas>
							<Canvas x:Name="_smallWheel" Width="37.767" Height="37.769" RenderTransformOrigin="0.5,0.5">
								<Canvas.RenderTransform>
									<TransformGroup>
										<ScaleTransform/>
										<SkewTransform/>
										<RotateTransform/>
										<TranslateTransform/>
									</TransformGroup>
								</Canvas.RenderTransform>
								<Path Stretch="Fill" Width="12.725" Height="12.723" Data="F1M12.568,18.043C12.513,21.558,15.303,24.448,18.818,24.515L18.818,24.515C22.33,24.572,25.223,21.779,25.291,18.268L25.291,18.268C25.348,14.755,22.555,11.862,19.041,11.794L19.041,11.794C19.006,11.793,18.971,11.793,18.936,11.793L18.936,11.793C15.472,11.793,12.636,14.563,12.568,18.043" Canvas.Left="12.567" Canvas.Top="12.522">
									<Path.Fill>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="White" Offset="0"/>
											<GradientStop Color="#FFBDBDBD" Offset="1"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
								<Path Stretch="Fill" Width="37.767" Height="37.769" Data="F1M13.286,-0.728999999999999C13.148,-0.727000000000004,13.011,-0.706000000000003,12.883,-0.664000000000001L12.883,-0.664000000000001L10.391,0.320999999999998C9.803,0.602000000000004,9.419,1.354,9.539,1.992L9.539,1.992C9.539,1.992,10.207,5.586,8.412,7.319L8.412,7.319C6.62,9.051,3.057,8.261,3.057,8.261L3.057,8.261C2.422,8.121,1.658,8.48099999999999,1.362,9.059L1.362,9.059L0.286,11.53C0.064,12.145,0.324,12.942,0.862,13.309L0.862,13.309C0.862,13.309,3.919,15.381,3.876,17.895L3.876,17.895C3.832,20.406,0.702,22.372,0.702,22.372L0.702,22.372C0.152,22.717,-0.137,23.508,0.064,24.125L0.064,24.125L1.057,26.649C1.334,27.24,2.084,27.618,2.723,27.488L2.723,27.488C2.723,27.488,6.386,26.754,8.147,28.578L8.147,28.578C9.903,30.397,9.047,34.027,9.047,34.027L9.047,34.027C8.9,34.66,9.251,35.421,9.829,35.723L9.829,35.723L12.332,36.801C12.947,37.022,13.738,36.758,14.098,36.213L14.098,36.213C14.098,36.213,16.173,33.066,18.721,33.111L18.721,33.111C21.252,33.156,23.216,36.336,23.216,36.336L23.216,36.336C23.559,36.893,24.344,37.177,24.963,36.975L24.963,36.975L27.492,35.963C28.082,35.682,28.455,34.932,28.324,34.291L28.324,34.291C28.324,34.291,27.575,30.609,29.404,28.842L29.404,28.842C31.217,27.092,34.827,27.93,34.827,27.93L34.827,27.93C35.461,28.077,36.221,27.721,36.516,27.141L36.516,27.141L37.58,24.645C37.797,24.03,37.532,23.233,36.992,22.871L36.992,22.871C36.992,22.871,33.897,20.796,33.94,18.269L33.94,18.269C33.984,15.767,37.075,13.805,37.075,13.805L37.075,13.805C37.623,13.455,37.906,12.664,37.7,12.045L37.7,12.045L36.697,9.547C36.415,8.95999999999999,35.663,8.58,35.022,8.7L35.022,8.7C35.022,8.7,31.41,9.386,29.669,7.584L29.669,7.584C27.945,5.798,28.715,2.25700000000001,28.715,2.25700000000001L28.715,2.25700000000001C28.851,1.62,28.492,0.859999999999999,27.912,0.563000000000002L27.912,0.563000000000002L25.447,-0.494C24.835,-0.710999999999999,24.03,-0.450999999999993,23.66,0.0870000000000033L23.66,0.0870000000000033C23.66,0.0870000000000033,21.59,3.093,19.094,3.048L19.094,3.048C16.616,3.004,14.65,-0.0370000000000061,14.65,-0.0370000000000061L14.65,-0.0370000000000061C14.378,-0.456000000000003,13.845,-0.721000000000004,13.332,-0.728999999999999L13.332,-0.728999999999999z M18.754,28.125C13.246,28.029,8.862,23.488,8.958,17.98L8.958,17.98C9.059,12.472,13.6,8.089,19.105,8.185L19.105,8.185C24.614,8.282,28.998,12.822,28.901,18.332L28.901,18.332C28.804,23.777,24.361,28.126,18.934,28.127L18.934,28.127C18.874,28.127,18.814,28.126,18.754,28.125" Canvas.Left="0" Canvas.Top="0">
									<Path.Fill>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="White" Offset="0"/>
											<GradientStop Color="#FFBDBDBD" Offset="1"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
							</Canvas>
						</Canvas>
					</Grid>
				</StackPanel>
			</Border>
			</Grid>
			<DataTemplate.Triggers>
				<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_replyBt">
					<BeginStoryboard x:Name="ExpandAll_BeginStoryboard" Storyboard="{StaticResource ExpandAll}"/>
				</EventTrigger>
				<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_cancelBt">
					<BeginStoryboard x:Name="CollapseAll_BeginStoryboard" Storyboard="{StaticResource CollapseAll}"/>
				</EventTrigger>
				<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_sendBt">
					<BeginStoryboard x:Name="CollapseAll_BeginStoryboard1" Storyboard="{StaticResource CollapseAll}"/>
				</EventTrigger>
				<DataTrigger Binding="{Binding IsBusy}" Value="True">
					<DataTrigger.EnterActions>
						<BeginStoryboard Storyboard="{StaticResource WheelsOn}" x:Name="OnWheelsOn"/>
						<BeginStoryboard Storyboard="{StaticResource BlurBackground}" x:Name="OnBlurBackground"/>
                	</DataTrigger.EnterActions>
					<DataTrigger.ExitActions>
						<RemoveStoryboard BeginStoryboardName="OnWheelsOn" />
						<RemoveStoryboard BeginStoryboardName="OnBlurBackground" />
					</DataTrigger.ExitActions>
				</DataTrigger>
			</DataTemplate.Triggers>
		</DataTemplate>
		<DataTemplate x:Key="DirectMessageTemplate">
      <DataTemplate.Resources>
        <Storyboard x:Key="ExpandActions">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="20" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="CollapseActions">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="ExpandAll">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="00:00:00.3000000" Value="100"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="CollapseAll">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="00:00:00.3000000" Value="0"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="BlurBackground">
          <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="workingTaskContainer" Storyboard.TargetProperty="(UIElement.Visibility)">
            <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
          </ObjectAnimationUsingKeyFrames>
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="workingTaskContainer" Storyboard.TargetProperty="(UIElement.Opacity)">
            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
            <SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)">
            <SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="10" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="WheelsOn" RepeatBehavior="Forever">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_bigWheel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
            <SplineDoubleKeyFrame KeyTime="00:00:03" Value="360"/>
          </DoubleAnimationUsingKeyFrames>
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_smallWheel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
            <SplineDoubleKeyFrame KeyTime="00:00:03" Value="-360"/>
          </DoubleAnimationUsingKeyFrames>
          <StringAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_taskNaneTbk" Storyboard.TargetProperty="(TextBlock.Text)">
            <DiscreteStringKeyFrame KeyTime="00:00:03" Value="Translating ..."/>
          </StringAnimationUsingKeyFrames>
        </Storyboard>
      </DataTemplate.Resources>
      <Grid>
        <Grid x:Name="grid" Width="292" Height="Auto" HorizontalAlignment="Stretch" MouseEnter="Grid_MouseEnter" MouseLeave="Grid_MouseLeave">
          <Grid.Effect>
            <BlurEffect Radius="0"/>
          </Grid.Effect>
          <Grid.RowDefinitions>
            <RowDefinition Height="70"/>
            <RowDefinition Height="14"/>
            <RowDefinition Height="Auto"/>
          </Grid.RowDefinitions>
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.168*"/>
            <ColumnDefinition Width="0.832*"/>
          </Grid.ColumnDefinitions>
          <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
              <GradientStop Color="#FF1B3B50" Offset="0"/>
              <GradientStop Color="#FF163449" Offset="1"/>
              <GradientStop Color="#FF1B3C51" Offset="0.517"/>
            </LinearGradientBrush>
          </Grid.Background>
          <myTwitter_CustomControls:ExRichTextBox HorizontalAlignment="Left" VerticalAlignment="Stretch" Grid.Column="1" Document="{Binding Path=Text, Converter={StaticResource TextToFlowDocumentConverter}, Mode=Default}" IsDocumentEnabled="True" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FFE4D5A0" Margin="5,5,5,0" Style="{DynamicResource ExRichTextBoxStyle1}" IsEnabled="True" PreviewKeyDown="ExRichTextBox_PreviewKeyDown"/>
          <StackPanel Grid.ColumnSpan="2" VerticalAlignment="Stretch" Orientation="Horizontal" Grid.Row="1" Margin="0,-1.481,0,0" Grid.RowSpan="1">
            <TextBlock Text="About" TextWrapping="Wrap" Foreground="#FF435D6E" Margin="9,0,0,0" FontSize="12"/>
            <TextBlock Margin="5,0,0,0" Foreground="#FFB0B0B0" Text="{Binding Path=CreatedAt, Converter={StaticResource ElapsedTimeConverter}, Mode=Default}" TextWrapping="Wrap" FontSize="12"/>
            <TextBlock Margin="5,0,0,0" Foreground="#FF435D6E" Text="from" TextWrapping="Wrap" FontSize="12"/>
            <TextBlock x:Name="_from" Margin="5,0,0,0" Foreground="#FFB0B0B0" Text="{Binding Path=User.Name, Mode=Default}" TextWrapping="Wrap" FontSize="12"/>
          </StackPanel>
          <Border x:Name="border" Margin="0,0,0,0" VerticalAlignment="Top" Height="0" Grid.Row="2" d:LayoutOverrides="Width" Grid.ColumnSpan="3" BorderThickness="0,0,0,0" BorderBrush="{x:Null}">
            <Border.Background>
              <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FF1A3A4D" Offset="0"/>
                <GradientStop Color="#FF0C283A" Offset="1"/>
                <GradientStop Color="#FF163549" Offset="0.034"/>
                <GradientStop Color="#FF0F2C41" Offset="0.543"/>
              </LinearGradientBrush>
            </Border.Background>
            <StackPanel>
              <Border Height="19" BorderThickness="0,1,0,1" BorderBrush="#FF081B28">
                <StackPanel Orientation="Horizontal">
                  <Button x:Name="_dmBt" Style="{DynamicResource StatusActionButtonStyle}" Width="47" Content="direct" Foreground="#FFE6E6E6" Cursor="Hand" Click="_dmBt_Click"/>
                  <Button x:Name="_translateBt" Style="{DynamicResource StatusActionButtonStyle}" Width="50" Content="translate" Foreground="#FFE6E6E6" Cursor="Hand" Command="{Binding TranslateCommand}"/>
                </StackPanel>
              </Border>
              <Grid Height="Auto" Background="{x:Null}" Width="Auto">
                <StackPanel Margin="7,7,7,0" Height="Auto" Orientation="Vertical">
                  <TextBox x:Name="_textMsg" HorizontalAlignment="Stretch" TextWrapping="Wrap" BorderBrush="#FFF7F7F8" FontSize="11" Margin="0,0,0,0" Style="{DynamicResource MessageTextboxStyle}" VerticalAlignment="Top" Width="278" Height="38" Text="" TextChanged="_textMsg_TextChanged">
                    <TextBox.Background>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFC9C9C9" Offset="0"/>
                        <GradientStop Color="#FFF0F1F2" Offset="1"/>
                      </LinearGradientBrush>
                    </TextBox.Background>
                  </TextBox>
                  <StackPanel HorizontalAlignment="Stretch" Margin="0,6,0,0" VerticalAlignment="Bottom" Width="Auto" Height="23" Orientation="Horizontal">
                    <Button x:Name="_sendBt" HorizontalAlignment="Stretch" VerticalAlignment="Top" Content="send" Margin="0,0,0,0" Style="{DynamicResource ButtonStyle1}" Cursor="Hand" Width="60" Height="23" BorderBrush="#FF16364C" Foreground="#FFFFFFFF" Click="_sendBt_Click">
                      <Button.Background>
                        <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                          <GradientStop Color="#FF132F44" Offset="0.616"/>
                          <GradientStop Color="#FF214358" Offset="1"/>
                        </LinearGradientBrush>
                      </Button.Background>
                    </Button>
                    <Button x:Name="_cancelBt" HorizontalAlignment="Stretch" VerticalAlignment="Top" Content="cancel" Margin="10,0,0,0" Style="{DynamicResource ButtonStyle1}" Width="60" Height="23" BorderBrush="#FF16364C" Foreground="#FFFFFFFF" Cursor="Hand" Click="_cancelBt_Click">
                      <Button.Background>
                        <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                          <GradientStop Color="#FF132F44" Offset="0.616"/>
                          <GradientStop Color="#FF214358" Offset="1"/>
                        </LinearGradientBrush>
                      </Button.Background>
                    </Button>
                  </StackPanel>
                </StackPanel>
              </Grid>
            </StackPanel>
          </Border>
          <Rectangle Fill="#FF3774A1" Stroke="{x:Null}" Margin="0,0,0,0" Grid.ColumnSpan="2" Height="1" VerticalAlignment="Bottom" Grid.Row="2"/>
          <Button x:Name="_userBt" VerticalAlignment="Top" d:LayoutOverrides="Width" BorderThickness="0,0,0,0" BorderBrush="{x:Null}" Style="{DynamicResource PictureButton}" Cursor="Hand" Click="_userBt_Click" HorizontalAlignment="Center" Margin="0,5,0,0">
            <Image Source="{Binding Path=User.ProfileImageUrl, Mode=Default}" Clip="M0,4.305 C0,1.9274142 1.9274142,0 4.305,0 L38.695,0 C41.072586,0 43,1.9274142 43,4.305 L43,38.695 C43,41.072586 41.072586,43 38.695,43 L4.305,43 C1.9274142,43 0,41.072586 0,38.695 z" Width="Auto" Height="Auto" Stretch="UniformToFill"/>
          </Button>
        </Grid>
        <Border x:Name="workingTaskContainer" HorizontalAlignment="Stretch" BorderBrush="Black" BorderThickness="1" Background="#4C000000" Visibility="Collapsed" Opacity="0">
          <StackPanel Orientation="Horizontal" d:LayoutOverrides="Height" HorizontalAlignment="Center" VerticalAlignment="Center">
            <TextBlock x:Name="_taskNaneTbk" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="26.667" Foreground="#FFEEEEEE" Text="Translating" TextWrapping="Wrap"/>
            <Grid Width="40" Height="40" Margin="10,0,0,0">
              <Canvas x:Name="Layer_1" Margin="0,-0.729,-44.049,-43" Width="Auto" Height="Auto" RenderTransformOrigin="0,0">
                <Canvas.RenderTransform>
                  <TransformGroup>
                    <ScaleTransform ScaleX="0.5" ScaleY="0.5"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                  </TransformGroup>
                </Canvas.RenderTransform>
                <Canvas x:Name="_bigWheel" Width="59.161" Height="59.161" Canvas.Left="24.888" Canvas.Top="24.568" RenderTransformOrigin="0.5,0.5">
                  <Canvas.RenderTransform>
                    <TransformGroup>
                      <ScaleTransform/>
                      <SkewTransform/>
                      <RotateTransform/>
                      <TranslateTransform/>
                    </TransformGroup>
                  </Canvas.RenderTransform>
                  <Path Stretch="Fill" Width="19.074" Height="19.075" Data="F1M50.809,44.602C45.953,46.641,43.666,52.219,45.69,57.082L45.69,57.082C47.732,61.939,53.307,64.224,58.17,62.203L58.17,62.203C63.026,60.163,65.314,54.586,63.291,49.723L63.291,49.723C61.753,46.065,58.213,43.864,54.482,43.864L54.482,43.864C53.257,43.864,52.012,44.101,50.809,44.602" Canvas.Left="20.065" Canvas.Top="20.025">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                  <Path Stretch="Fill" Width="59.161" Height="59.161" Data="F1M52.199,23.874C51.224,23.945,50.279,24.787,50.093,25.747L50.093,25.747C50.093,25.747,49.064,31.121,45.612,32.565L45.612,32.565C42.18,33.998,37.651,31.01,37.651,31.01L37.651,31.01C36.836,30.469,35.575,30.562,34.847,31.211L34.847,31.211L32.021,34.071C31.381,34.805,31.307,36.07,31.855,36.875L31.855,36.875C31.855,36.875,34.94,41.405,33.519,44.865L33.519,44.865C32.1,48.324,26.74,49.387,26.74,49.387L26.74,49.387C25.781,49.576,24.949,50.529,24.888,51.502L24.888,51.502L24.902,55.543C24.969,56.518,25.807,57.459,26.763,57.634L26.763,57.634C26.763,57.634,32.213,58.637,33.666,62.115L33.666,62.115C35.121,65.594,32.008,70.176,32.008,70.176L32.008,70.176C31.459,70.984,31.54,72.24,32.189,72.97L32.189,72.97L35.072,75.836C35.809,76.477,37.066,76.543,37.864,75.981L37.864,75.981C37.864,75.981,42.453,72.768,45.967,74.209L45.967,74.209C49.478,75.649,50.49,81.144,50.49,81.144L50.49,81.144C50.667,82.107,51.611,82.94,52.583,83L52.583,83L56.67,82.975C57.644,82.908,58.574,82.07,58.739,81.104L58.739,81.104C58.739,81.104,59.692,75.535,63.218,74.062L63.218,74.062C66.721,72.598,71.331,75.779,71.331,75.779L71.331,75.779C72.136,76.332,73.389,76.252,74.115,75.602L74.115,75.602L76.981,72.69C77.618,71.947,77.675,70.69,77.115,69.892L77.115,69.892C77.115,69.892,73.862,65.285,75.309,61.76L75.309,61.76C76.745,58.264,82.204,57.238,82.204,57.238L82.204,57.238C83.165,57.058,83.994,56.115,84.049,55.139L84.049,55.139L84.004,51.072C83.931,50.098,83.088,49.158,82.129,48.99L82.129,48.99C82.129,48.99,76.629,48.01,75.165,44.512L75.165,44.512C73.718,41.051,76.776,36.494,76.776,36.494L76.776,36.494C77.323,35.685,77.232,34.428,76.577,33.702L76.577,33.702L73.692,30.877C72.952,30.238,71.689,30.174,70.883,30.724L70.883,30.724C70.883,30.724,66.338,33.844,62.862,32.418L62.862,32.418C59.418,31.004,58.342,25.678,58.342,25.678L58.342,25.678C58.147,24.723,57.193,23.894,56.219,23.839L56.219,23.839z M40.696,59.17C37.51,51.549,41.104,42.795,48.721,39.607L48.721,39.607C56.343,36.424,65.096,40.016,68.283,47.635L68.283,47.635C71.47,55.256,67.877,64.01,60.258,67.195L60.258,67.195C58.373,67.983,56.418,68.357,54.495,68.357L54.495,68.357C48.647,68.357,43.095,64.904,40.696,59.17">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                </Canvas>
                <Canvas x:Name="_smallWheel" Width="37.767" Height="37.769" RenderTransformOrigin="0.5,0.5">
                  <Canvas.RenderTransform>
                    <TransformGroup>
                      <ScaleTransform/>
                      <SkewTransform/>
                      <RotateTransform/>
                      <TranslateTransform/>
                    </TransformGroup>
                  </Canvas.RenderTransform>
                  <Path Stretch="Fill" Width="12.725" Height="12.723" Data="F1M12.568,18.043C12.513,21.558,15.303,24.448,18.818,24.515L18.818,24.515C22.33,24.572,25.223,21.779,25.291,18.268L25.291,18.268C25.348,14.755,22.555,11.862,19.041,11.794L19.041,11.794C19.006,11.793,18.971,11.793,18.936,11.793L18.936,11.793C15.472,11.793,12.636,14.563,12.568,18.043" Canvas.Left="12.567" Canvas.Top="12.522">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                  <Path Stretch="Fill" Width="37.767" Height="37.769" Data="F1M13.286,-0.728999999999999C13.148,-0.727000000000004,13.011,-0.706000000000003,12.883,-0.664000000000001L12.883,-0.664000000000001L10.391,0.320999999999998C9.803,0.602000000000004,9.419,1.354,9.539,1.992L9.539,1.992C9.539,1.992,10.207,5.586,8.412,7.319L8.412,7.319C6.62,9.051,3.057,8.261,3.057,8.261L3.057,8.261C2.422,8.121,1.658,8.48099999999999,1.362,9.059L1.362,9.059L0.286,11.53C0.064,12.145,0.324,12.942,0.862,13.309L0.862,13.309C0.862,13.309,3.919,15.381,3.876,17.895L3.876,17.895C3.832,20.406,0.702,22.372,0.702,22.372L0.702,22.372C0.152,22.717,-0.137,23.508,0.064,24.125L0.064,24.125L1.057,26.649C1.334,27.24,2.084,27.618,2.723,27.488L2.723,27.488C2.723,27.488,6.386,26.754,8.147,28.578L8.147,28.578C9.903,30.397,9.047,34.027,9.047,34.027L9.047,34.027C8.9,34.66,9.251,35.421,9.829,35.723L9.829,35.723L12.332,36.801C12.947,37.022,13.738,36.758,14.098,36.213L14.098,36.213C14.098,36.213,16.173,33.066,18.721,33.111L18.721,33.111C21.252,33.156,23.216,36.336,23.216,36.336L23.216,36.336C23.559,36.893,24.344,37.177,24.963,36.975L24.963,36.975L27.492,35.963C28.082,35.682,28.455,34.932,28.324,34.291L28.324,34.291C28.324,34.291,27.575,30.609,29.404,28.842L29.404,28.842C31.217,27.092,34.827,27.93,34.827,27.93L34.827,27.93C35.461,28.077,36.221,27.721,36.516,27.141L36.516,27.141L37.58,24.645C37.797,24.03,37.532,23.233,36.992,22.871L36.992,22.871C36.992,22.871,33.897,20.796,33.94,18.269L33.94,18.269C33.984,15.767,37.075,13.805,37.075,13.805L37.075,13.805C37.623,13.455,37.906,12.664,37.7,12.045L37.7,12.045L36.697,9.547C36.415,8.95999999999999,35.663,8.58,35.022,8.7L35.022,8.7C35.022,8.7,31.41,9.386,29.669,7.584L29.669,7.584C27.945,5.798,28.715,2.25700000000001,28.715,2.25700000000001L28.715,2.25700000000001C28.851,1.62,28.492,0.859999999999999,27.912,0.563000000000002L27.912,0.563000000000002L25.447,-0.494C24.835,-0.710999999999999,24.03,-0.450999999999993,23.66,0.0870000000000033L23.66,0.0870000000000033C23.66,0.0870000000000033,21.59,3.093,19.094,3.048L19.094,3.048C16.616,3.004,14.65,-0.0370000000000061,14.65,-0.0370000000000061L14.65,-0.0370000000000061C14.378,-0.456000000000003,13.845,-0.721000000000004,13.332,-0.728999999999999L13.332,-0.728999999999999z M18.754,28.125C13.246,28.029,8.862,23.488,8.958,17.98L8.958,17.98C9.059,12.472,13.6,8.089,19.105,8.185L19.105,8.185C24.614,8.282,28.998,12.822,28.901,18.332L28.901,18.332C28.804,23.777,24.361,28.126,18.934,28.127L18.934,28.127C18.874,28.127,18.814,28.126,18.754,28.125" Canvas.Left="0" Canvas.Top="0">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                </Canvas>
              </Canvas>
            </Grid>
          </StackPanel>
        </Border>
      </Grid>
      <DataTemplate.Triggers>
        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_cancelBt">
          <BeginStoryboard x:Name="CollapseAll_BeginStoryboard" Storyboard="{StaticResource CollapseAll}"/>
        </EventTrigger>
        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_sendBt">
          <BeginStoryboard x:Name="CollapseAll_BeginStoryboard1" Storyboard="{StaticResource CollapseAll}"/>
        </EventTrigger>
        <DataTrigger Binding="{Binding IsBusy}" Value="True">
          <DataTrigger.EnterActions>
            <BeginStoryboard Storyboard="{StaticResource WheelsOn}" x:Name="OnWheelsOn"/>
            <BeginStoryboard Storyboard="{StaticResource BlurBackground}" x:Name="OnBlurBackground"/>
          </DataTrigger.EnterActions>
          <DataTrigger.ExitActions>
            <RemoveStoryboard BeginStoryboardName="OnWheelsOn" />
            <RemoveStoryboard BeginStoryboardName="OnBlurBackground" />
          </DataTrigger.ExitActions>
        </DataTrigger>
      </DataTemplate.Triggers>
		</DataTemplate>
    <DataTemplate x:Key="MentionsTemplate">
      <DataTemplate.Resources>
        <Storyboard x:Key="ExpandActions">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="20" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="CollapseActions">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="ExpandAll">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="00:00:00.3000000" Value="100"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="CollapseAll">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="00:00:00.3000000" Value="0"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="BlurBackground">
          <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="workingTaskContainer" Storyboard.TargetProperty="(UIElement.Visibility)">
            <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
          </ObjectAnimationUsingKeyFrames>
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="workingTaskContainer" Storyboard.TargetProperty="(UIElement.Opacity)">
            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
            <SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)">
            <SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="10" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="WheelsOn" RepeatBehavior="Forever">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_bigWheel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
            <SplineDoubleKeyFrame KeyTime="00:00:03" Value="360"/>
          </DoubleAnimationUsingKeyFrames>
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_smallWheel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
            <SplineDoubleKeyFrame KeyTime="00:00:03" Value="-360"/>
          </DoubleAnimationUsingKeyFrames>
          <StringAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_taskNaneTbk" Storyboard.TargetProperty="(TextBlock.Text)">
            <DiscreteStringKeyFrame KeyTime="00:00:03" Value="Translating ..."/>
          </StringAnimationUsingKeyFrames>
        </Storyboard>
      </DataTemplate.Resources>
      <Grid>
        <Grid x:Name="grid" Width="292" Height="Auto" HorizontalAlignment="Stretch" MouseEnter="Grid_MouseEnter" MouseLeave="Grid_MouseLeave">
          <Grid.Effect>
            <BlurEffect Radius="0"/>
          </Grid.Effect>
          <Grid.RowDefinitions>
            <RowDefinition Height="70"/>
            <RowDefinition Height="14"/>
            <RowDefinition Height="Auto"/>
          </Grid.RowDefinitions>
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.168*"/>
            <ColumnDefinition Width="0.832*"/>
          </Grid.ColumnDefinitions>
          <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
              <GradientStop Color="#FF1B3B50" Offset="0"/>
              <GradientStop Color="#FF163449" Offset="1"/>
              <GradientStop Color="#FF1B3C51" Offset="0.517"/>
            </LinearGradientBrush>
          </Grid.Background>
          <myTwitter_CustomControls:ExRichTextBox HorizontalAlignment="Left" VerticalAlignment="Stretch" Grid.Column="1" Document="{Binding Path=Text, Converter={StaticResource TextToFlowDocumentConverter}, Mode=Default}" IsDocumentEnabled="True" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FF8BE8B8" Margin="5,5,5,0" Style="{DynamicResource ExRichTextBoxStyle1}" IsEnabled="True" PreviewKeyDown="ExRichTextBox_PreviewKeyDown"/>
          <StackPanel Grid.ColumnSpan="2" VerticalAlignment="Stretch" Orientation="Horizontal" Grid.Row="1" Margin="0,-1.481,0,0" Grid.RowSpan="1">
            <TextBlock Text="About" TextWrapping="Wrap" Foreground="#FF435D6E" Margin="9,0,0,0" FontSize="12"/>
            <TextBlock Margin="5,0,0,0" Foreground="#FFB0B0B0" Text="{Binding Path=CreatedAt, Converter={StaticResource ElapsedTimeConverter}, Mode=Default}" TextWrapping="Wrap" FontSize="12"/>
            <TextBlock Margin="5,0,0,0" Foreground="#FF435D6E" Text="from" TextWrapping="Wrap" FontSize="12"/>
            <TextBlock x:Name="_from" Margin="5,0,0,0" Foreground="#FFB0B0B0" Text="{Binding Path=User.Name, Mode=Default}" TextWrapping="Wrap" FontSize="12"/>
          </StackPanel>
          <Border x:Name="border" Margin="0,0,0,0" VerticalAlignment="Top" Height="0" Grid.Row="2" d:LayoutOverrides="Width" Grid.ColumnSpan="3" BorderThickness="0,0,0,0" BorderBrush="{x:Null}">
            <Border.Background>
              <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FF1A3A4D" Offset="0"/>
                <GradientStop Color="#FF0C283A" Offset="1"/>
                <GradientStop Color="#FF163549" Offset="0.034"/>
                <GradientStop Color="#FF0F2C41" Offset="0.543"/>
              </LinearGradientBrush>
            </Border.Background>
            <StackPanel>
              <Border Height="19" BorderThickness="0,1,0,1" BorderBrush="#FF081B28">
                <StackPanel Orientation="Horizontal">
                  <Button x:Name="_replyBt" Style="{DynamicResource StatusActionButtonStyle}" Width="47" Content="reply" Foreground="#FFE6E6E6" Cursor="Hand" Click="_replyBt_Click"/>
                  <Button x:Name="_reTwittBt" Style="{DynamicResource StatusActionButtonStyle}" Width="47" Content="retweet" Foreground="#FFE6E6E6" Cursor="Hand" Click="_reTwittBt_Click"/>
                  <Button x:Name="_translateBt" Style="{DynamicResource StatusActionButtonStyle}" Width="50" Content="translate" Foreground="#FFE6E6E6" Cursor="Hand" Command="{Binding TranslateCommand}"/>
                </StackPanel>
              </Border>
              <Grid Height="Auto" Background="{x:Null}" Width="Auto">
                <StackPanel Margin="7,7,7,0" Height="Auto" Orientation="Vertical">
                  <TextBox x:Name="_textMsg" HorizontalAlignment="Stretch" TextWrapping="Wrap" BorderBrush="#FFF7F7F8" FontSize="11" Margin="0,0,0,0" Style="{DynamicResource MessageTextboxStyle}" VerticalAlignment="Top" Width="278" Height="38" Text="" TextChanged="_textMsg_TextChanged">
                    <TextBox.Background>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFC9C9C9" Offset="0"/>
                        <GradientStop Color="#FFF0F1F2" Offset="1"/>
                      </LinearGradientBrush>
                    </TextBox.Background>
                  </TextBox>
                  <StackPanel HorizontalAlignment="Stretch" Margin="0,6,0,0" VerticalAlignment="Bottom" Width="Auto" Height="23" Orientation="Horizontal">
                    <Button x:Name="_sendBt" HorizontalAlignment="Stretch" VerticalAlignment="Top" Content="send" Margin="0,0,0,0" Style="{DynamicResource ButtonStyle1}" Cursor="Hand" Width="60" Height="23" BorderBrush="#FF16364C" Foreground="#FFFFFFFF" Click="_sendBt_Click">
                      <Button.Background>
                        <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                          <GradientStop Color="#FF132F44" Offset="0.616"/>
                          <GradientStop Color="#FF214358" Offset="1"/>
                        </LinearGradientBrush>
                      </Button.Background>
                    </Button>
                    <Button x:Name="_cancelBt" HorizontalAlignment="Stretch" VerticalAlignment="Top" Content="cancel" Margin="10,0,0,0" Style="{DynamicResource ButtonStyle1}" Width="60" Height="23" BorderBrush="#FF16364C" Foreground="#FFFFFFFF" Cursor="Hand" Click="_cancelBt_Click">
                      <Button.Background>
                        <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                          <GradientStop Color="#FF132F44" Offset="0.616"/>
                          <GradientStop Color="#FF214358" Offset="1"/>
                        </LinearGradientBrush>
                      </Button.Background>
                    </Button>
                  </StackPanel>
                </StackPanel>
              </Grid>
            </StackPanel>
          </Border>
          <Rectangle Fill="#FF3774A1" Stroke="{x:Null}" Margin="0,0,0,0" Grid.ColumnSpan="2" Height="1" VerticalAlignment="Bottom" Grid.Row="2"/>
          <Button x:Name="_userBt" VerticalAlignment="Top" d:LayoutOverrides="Width" BorderThickness="0,0,0,0" BorderBrush="{x:Null}" Style="{DynamicResource PictureButton}" Cursor="Hand" Click="_userBt_Click" HorizontalAlignment="Center" Margin="0,5,0,0">
            <Image Source="{Binding Path=User.ProfileImageUrl, Mode=Default}" Clip="M0,4.305 C0,1.9274142 1.9274142,0 4.305,0 L38.695,0 C41.072586,0 43,1.9274142 43,4.305 L43,38.695 C43,41.072586 41.072586,43 38.695,43 L4.305,43 C1.9274142,43 0,41.072586 0,38.695 z" Width="Auto" Height="Auto" Stretch="UniformToFill"/>
          </Button>
        </Grid>
        <Border x:Name="workingTaskContainer" HorizontalAlignment="Stretch" BorderBrush="Black" BorderThickness="1" Background="#4C000000" Visibility="Collapsed" Opacity="0">
          <StackPanel Orientation="Horizontal" d:LayoutOverrides="Height" HorizontalAlignment="Center" VerticalAlignment="Center">
            <TextBlock x:Name="_taskNaneTbk" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="26.667" Foreground="#FFEEEEEE" Text="Translating" TextWrapping="Wrap"/>
            <Grid Width="40" Height="40" Margin="10,0,0,0">
              <Canvas x:Name="Layer_1" Margin="0,-0.729,-44.049,-43" Width="Auto" Height="Auto" RenderTransformOrigin="0,0">
                <Canvas.RenderTransform>
                  <TransformGroup>
                    <ScaleTransform ScaleX="0.5" ScaleY="0.5"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                  </TransformGroup>
                </Canvas.RenderTransform>
                <Canvas x:Name="_bigWheel" Width="59.161" Height="59.161" Canvas.Left="24.888" Canvas.Top="24.568" RenderTransformOrigin="0.5,0.5">
                  <Canvas.RenderTransform>
                    <TransformGroup>
                      <ScaleTransform/>
                      <SkewTransform/>
                      <RotateTransform/>
                      <TranslateTransform/>
                    </TransformGroup>
                  </Canvas.RenderTransform>
                  <Path Stretch="Fill" Width="19.074" Height="19.075" Data="F1M50.809,44.602C45.953,46.641,43.666,52.219,45.69,57.082L45.69,57.082C47.732,61.939,53.307,64.224,58.17,62.203L58.17,62.203C63.026,60.163,65.314,54.586,63.291,49.723L63.291,49.723C61.753,46.065,58.213,43.864,54.482,43.864L54.482,43.864C53.257,43.864,52.012,44.101,50.809,44.602" Canvas.Left="20.065" Canvas.Top="20.025">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                  <Path Stretch="Fill" Width="59.161" Height="59.161" Data="F1M52.199,23.874C51.224,23.945,50.279,24.787,50.093,25.747L50.093,25.747C50.093,25.747,49.064,31.121,45.612,32.565L45.612,32.565C42.18,33.998,37.651,31.01,37.651,31.01L37.651,31.01C36.836,30.469,35.575,30.562,34.847,31.211L34.847,31.211L32.021,34.071C31.381,34.805,31.307,36.07,31.855,36.875L31.855,36.875C31.855,36.875,34.94,41.405,33.519,44.865L33.519,44.865C32.1,48.324,26.74,49.387,26.74,49.387L26.74,49.387C25.781,49.576,24.949,50.529,24.888,51.502L24.888,51.502L24.902,55.543C24.969,56.518,25.807,57.459,26.763,57.634L26.763,57.634C26.763,57.634,32.213,58.637,33.666,62.115L33.666,62.115C35.121,65.594,32.008,70.176,32.008,70.176L32.008,70.176C31.459,70.984,31.54,72.24,32.189,72.97L32.189,72.97L35.072,75.836C35.809,76.477,37.066,76.543,37.864,75.981L37.864,75.981C37.864,75.981,42.453,72.768,45.967,74.209L45.967,74.209C49.478,75.649,50.49,81.144,50.49,81.144L50.49,81.144C50.667,82.107,51.611,82.94,52.583,83L52.583,83L56.67,82.975C57.644,82.908,58.574,82.07,58.739,81.104L58.739,81.104C58.739,81.104,59.692,75.535,63.218,74.062L63.218,74.062C66.721,72.598,71.331,75.779,71.331,75.779L71.331,75.779C72.136,76.332,73.389,76.252,74.115,75.602L74.115,75.602L76.981,72.69C77.618,71.947,77.675,70.69,77.115,69.892L77.115,69.892C77.115,69.892,73.862,65.285,75.309,61.76L75.309,61.76C76.745,58.264,82.204,57.238,82.204,57.238L82.204,57.238C83.165,57.058,83.994,56.115,84.049,55.139L84.049,55.139L84.004,51.072C83.931,50.098,83.088,49.158,82.129,48.99L82.129,48.99C82.129,48.99,76.629,48.01,75.165,44.512L75.165,44.512C73.718,41.051,76.776,36.494,76.776,36.494L76.776,36.494C77.323,35.685,77.232,34.428,76.577,33.702L76.577,33.702L73.692,30.877C72.952,30.238,71.689,30.174,70.883,30.724L70.883,30.724C70.883,30.724,66.338,33.844,62.862,32.418L62.862,32.418C59.418,31.004,58.342,25.678,58.342,25.678L58.342,25.678C58.147,24.723,57.193,23.894,56.219,23.839L56.219,23.839z M40.696,59.17C37.51,51.549,41.104,42.795,48.721,39.607L48.721,39.607C56.343,36.424,65.096,40.016,68.283,47.635L68.283,47.635C71.47,55.256,67.877,64.01,60.258,67.195L60.258,67.195C58.373,67.983,56.418,68.357,54.495,68.357L54.495,68.357C48.647,68.357,43.095,64.904,40.696,59.17">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                </Canvas>
                <Canvas x:Name="_smallWheel" Width="37.767" Height="37.769" RenderTransformOrigin="0.5,0.5">
                  <Canvas.RenderTransform>
                    <TransformGroup>
                      <ScaleTransform/>
                      <SkewTransform/>
                      <RotateTransform/>
                      <TranslateTransform/>
                    </TransformGroup>
                  </Canvas.RenderTransform>
                  <Path Stretch="Fill" Width="12.725" Height="12.723" Data="F1M12.568,18.043C12.513,21.558,15.303,24.448,18.818,24.515L18.818,24.515C22.33,24.572,25.223,21.779,25.291,18.268L25.291,18.268C25.348,14.755,22.555,11.862,19.041,11.794L19.041,11.794C19.006,11.793,18.971,11.793,18.936,11.793L18.936,11.793C15.472,11.793,12.636,14.563,12.568,18.043" Canvas.Left="12.567" Canvas.Top="12.522">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                  <Path Stretch="Fill" Width="37.767" Height="37.769" Data="F1M13.286,-0.728999999999999C13.148,-0.727000000000004,13.011,-0.706000000000003,12.883,-0.664000000000001L12.883,-0.664000000000001L10.391,0.320999999999998C9.803,0.602000000000004,9.419,1.354,9.539,1.992L9.539,1.992C9.539,1.992,10.207,5.586,8.412,7.319L8.412,7.319C6.62,9.051,3.057,8.261,3.057,8.261L3.057,8.261C2.422,8.121,1.658,8.48099999999999,1.362,9.059L1.362,9.059L0.286,11.53C0.064,12.145,0.324,12.942,0.862,13.309L0.862,13.309C0.862,13.309,3.919,15.381,3.876,17.895L3.876,17.895C3.832,20.406,0.702,22.372,0.702,22.372L0.702,22.372C0.152,22.717,-0.137,23.508,0.064,24.125L0.064,24.125L1.057,26.649C1.334,27.24,2.084,27.618,2.723,27.488L2.723,27.488C2.723,27.488,6.386,26.754,8.147,28.578L8.147,28.578C9.903,30.397,9.047,34.027,9.047,34.027L9.047,34.027C8.9,34.66,9.251,35.421,9.829,35.723L9.829,35.723L12.332,36.801C12.947,37.022,13.738,36.758,14.098,36.213L14.098,36.213C14.098,36.213,16.173,33.066,18.721,33.111L18.721,33.111C21.252,33.156,23.216,36.336,23.216,36.336L23.216,36.336C23.559,36.893,24.344,37.177,24.963,36.975L24.963,36.975L27.492,35.963C28.082,35.682,28.455,34.932,28.324,34.291L28.324,34.291C28.324,34.291,27.575,30.609,29.404,28.842L29.404,28.842C31.217,27.092,34.827,27.93,34.827,27.93L34.827,27.93C35.461,28.077,36.221,27.721,36.516,27.141L36.516,27.141L37.58,24.645C37.797,24.03,37.532,23.233,36.992,22.871L36.992,22.871C36.992,22.871,33.897,20.796,33.94,18.269L33.94,18.269C33.984,15.767,37.075,13.805,37.075,13.805L37.075,13.805C37.623,13.455,37.906,12.664,37.7,12.045L37.7,12.045L36.697,9.547C36.415,8.95999999999999,35.663,8.58,35.022,8.7L35.022,8.7C35.022,8.7,31.41,9.386,29.669,7.584L29.669,7.584C27.945,5.798,28.715,2.25700000000001,28.715,2.25700000000001L28.715,2.25700000000001C28.851,1.62,28.492,0.859999999999999,27.912,0.563000000000002L27.912,0.563000000000002L25.447,-0.494C24.835,-0.710999999999999,24.03,-0.450999999999993,23.66,0.0870000000000033L23.66,0.0870000000000033C23.66,0.0870000000000033,21.59,3.093,19.094,3.048L19.094,3.048C16.616,3.004,14.65,-0.0370000000000061,14.65,-0.0370000000000061L14.65,-0.0370000000000061C14.378,-0.456000000000003,13.845,-0.721000000000004,13.332,-0.728999999999999L13.332,-0.728999999999999z M18.754,28.125C13.246,28.029,8.862,23.488,8.958,17.98L8.958,17.98C9.059,12.472,13.6,8.089,19.105,8.185L19.105,8.185C24.614,8.282,28.998,12.822,28.901,18.332L28.901,18.332C28.804,23.777,24.361,28.126,18.934,28.127L18.934,28.127C18.874,28.127,18.814,28.126,18.754,28.125" Canvas.Left="0" Canvas.Top="0">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                </Canvas>
              </Canvas>
            </Grid>
          </StackPanel>
        </Border>
      </Grid>
      <DataTemplate.Triggers>
        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_replyBt">
          <BeginStoryboard x:Name="ExpandAll_BeginStoryboard" Storyboard="{StaticResource ExpandAll}"/>
        </EventTrigger>
        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_cancelBt">
          <BeginStoryboard x:Name="CollapseAll_BeginStoryboard" Storyboard="{StaticResource CollapseAll}"/>
        </EventTrigger>
        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_sendBt">
          <BeginStoryboard x:Name="CollapseAll_BeginStoryboard1" Storyboard="{StaticResource CollapseAll}"/>
        </EventTrigger>
        <DataTrigger Binding="{Binding IsBusy}" Value="True">
          <DataTrigger.EnterActions>
            <BeginStoryboard Storyboard="{StaticResource WheelsOn}" x:Name="OnWheelsOn"/>
            <BeginStoryboard Storyboard="{StaticResource BlurBackground}" x:Name="OnBlurBackground"/>
          </DataTrigger.EnterActions>
          <DataTrigger.ExitActions>
            <RemoveStoryboard BeginStoryboardName="OnWheelsOn" />
            <RemoveStoryboard BeginStoryboardName="OnBlurBackground" />
          </DataTrigger.ExitActions>
        </DataTrigger>
      </DataTemplate.Triggers>
    </DataTemplate>
    <DataTemplate x:Key="SearchResultTemplate">
      <DataTemplate.Resources>
        <Storyboard x:Key="ExpandActions">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="20" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="CollapseActions">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="ExpandAll">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="00:00:00.3000000" Value="100"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="CollapseAll">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
            <SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="00:00:00.3000000" Value="0"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="BlurBackground">
          <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="workingTaskContainer" Storyboard.TargetProperty="(UIElement.Visibility)">
            <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
          </ObjectAnimationUsingKeyFrames>
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="workingTaskContainer" Storyboard.TargetProperty="(UIElement.Opacity)">
            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
            <SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)">
            <SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="10" KeySpline="0,1,1,1"/>
          </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="WheelsOn" RepeatBehavior="Forever">
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_bigWheel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
            <SplineDoubleKeyFrame KeyTime="00:00:03" Value="360"/>
          </DoubleAnimationUsingKeyFrames>
          <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_smallWheel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
            <SplineDoubleKeyFrame KeyTime="00:00:03" Value="-360"/>
          </DoubleAnimationUsingKeyFrames>
          <StringAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_taskNaneTbk" Storyboard.TargetProperty="(TextBlock.Text)">
            <DiscreteStringKeyFrame KeyTime="00:00:03" Value="Translating ..."/>
          </StringAnimationUsingKeyFrames>
        </Storyboard>
      </DataTemplate.Resources>
      <Grid>
        <Grid x:Name="grid" Width="292" Height="Auto" HorizontalAlignment="Stretch" MouseEnter="Grid_MouseEnter" MouseLeave="Grid_MouseLeave">
          <Grid.Effect>
            <BlurEffect Radius="0"/>
          </Grid.Effect>
          <Grid.RowDefinitions>
            <RowDefinition Height="70"/>
            <RowDefinition Height="14"/>
            <RowDefinition Height="Auto"/>
          </Grid.RowDefinitions>
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.168*"/>
            <ColumnDefinition Width="0.832*"/>
          </Grid.ColumnDefinitions>
          <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
              <GradientStop Color="#FF1B3B50" Offset="0"/>
              <GradientStop Color="#FF163449" Offset="1"/>
              <GradientStop Color="#FF1B3C51" Offset="0.517"/>
            </LinearGradientBrush>
          </Grid.Background>
          <myTwitter_CustomControls:ExRichTextBox HorizontalAlignment="Left" VerticalAlignment="Stretch" Grid.Column="1" Document="{Binding Path=Text, Converter={StaticResource TextToFlowDocumentConverter}, Mode=Default}" IsDocumentEnabled="True" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FFECECEC" Margin="5,5,5,0" Style="{DynamicResource ExRichTextBoxStyle1}" IsEnabled="True" PreviewKeyDown="ExRichTextBox_PreviewKeyDown"/>
          <StackPanel Grid.ColumnSpan="2" VerticalAlignment="Stretch" Orientation="Horizontal" Grid.Row="1" Margin="0,-1.481,0,0" Grid.RowSpan="1">
            <TextBlock Text="About" TextWrapping="Wrap" Foreground="#FF435D6E" Margin="9,0,0,0" FontSize="12"/>
            <TextBlock Margin="5,0,0,0" Foreground="#FFB0B0B0" Text="{Binding Path=CreatedAt, Converter={StaticResource ElapsedTimeConverter}, Mode=Default}" TextWrapping="Wrap" FontSize="12"/>
            <TextBlock Margin="5,0,0,0" Foreground="#FF435D6E" Text="from" TextWrapping="Wrap" FontSize="12"/>
            <TextBlock x:Name="_from" Margin="5,0,0,0" Foreground="#FFB0B0B0" Text="{Binding Path=User.Name, Mode=Default}" TextWrapping="Wrap" FontSize="12"/>
          </StackPanel>
          <Border x:Name="border" Margin="0,0,0,0" VerticalAlignment="Top" Height="0" Grid.Row="2" d:LayoutOverrides="Width" Grid.ColumnSpan="3" BorderThickness="0,0,0,0" BorderBrush="{x:Null}">
            <Border.Background>
              <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FF1A3A4D" Offset="0"/>
                <GradientStop Color="#FF0C283A" Offset="1"/>
                <GradientStop Color="#FF163549" Offset="0.034"/>
                <GradientStop Color="#FF0F2C41" Offset="0.543"/>
              </LinearGradientBrush>
            </Border.Background>
            <StackPanel>
              <Border Height="19" BorderThickness="0,1,0,1" BorderBrush="#FF081B28">
                <StackPanel Orientation="Horizontal">
                  <Button x:Name="_replyBt" Style="{DynamicResource StatusActionButtonStyle}" Width="47" Content="reply" Foreground="#FFE6E6E6" Cursor="Hand" Click="_replyBt_Click"/>
                  <Button x:Name="_reTwittBt" Style="{DynamicResource StatusActionButtonStyle}" Width="47" Content="retweet" Foreground="#FFE6E6E6" Cursor="Hand" Click="_reTwittBt_Click"/>
                  <Button x:Name="_translateBt" Style="{DynamicResource StatusActionButtonStyle}" Width="50" Content="translate" Foreground="#FFE6E6E6" Cursor="Hand" Command="{Binding TranslateCommand}"/>
                </StackPanel>
              </Border>
              <Grid Height="Auto" Background="{x:Null}" Width="Auto">
                <StackPanel Margin="7,7,7,0" Height="Auto" Orientation="Vertical">
                  <TextBox x:Name="_textMsg" HorizontalAlignment="Stretch" TextWrapping="Wrap" BorderBrush="#FFF7F7F8" FontSize="11" Margin="0,0,0,0" Style="{DynamicResource MessageTextboxStyle}" VerticalAlignment="Top" Width="278" Height="38" Text="" TextChanged="_textMsg_TextChanged">
                    <TextBox.Background>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFC9C9C9" Offset="0"/>
                        <GradientStop Color="#FFF0F1F2" Offset="1"/>
                      </LinearGradientBrush>
                    </TextBox.Background>
                  </TextBox>
                  <StackPanel HorizontalAlignment="Stretch" Margin="0,6,0,0" VerticalAlignment="Bottom" Width="Auto" Height="23" Orientation="Horizontal">
                    <Button x:Name="_sendBt" HorizontalAlignment="Stretch" VerticalAlignment="Top" Content="send" Margin="0,0,0,0" Style="{DynamicResource ButtonStyle1}" Cursor="Hand" Width="60" Height="23" BorderBrush="#FF16364C" Foreground="#FFFFFFFF" Click="_sendBt_Click">
                      <Button.Background>
                        <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                          <GradientStop Color="#FF132F44" Offset="0.616"/>
                          <GradientStop Color="#FF214358" Offset="1"/>
                        </LinearGradientBrush>
                      </Button.Background>
                    </Button>
                    <Button x:Name="_cancelBt" HorizontalAlignment="Stretch" VerticalAlignment="Top" Content="cancel" Margin="10,0,0,0" Style="{DynamicResource ButtonStyle1}" Width="60" Height="23" BorderBrush="#FF16364C" Foreground="#FFFFFFFF" Cursor="Hand" Click="_cancelBt_Click">
                      <Button.Background>
                        <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                          <GradientStop Color="#FF132F44" Offset="0.616"/>
                          <GradientStop Color="#FF214358" Offset="1"/>
                        </LinearGradientBrush>
                      </Button.Background>
                    </Button>
                  </StackPanel>
                </StackPanel>
              </Grid>
            </StackPanel>
          </Border>
          <Rectangle Fill="#FF3774A1" Stroke="{x:Null}" Margin="0,0,0,0" Grid.ColumnSpan="2" Height="1" VerticalAlignment="Bottom" Grid.Row="2"/>
          <Button x:Name="_userBt" VerticalAlignment="Top" d:LayoutOverrides="Width" BorderThickness="0,0,0,0" BorderBrush="{x:Null}" Style="{DynamicResource PictureButton}" Cursor="Hand" Click="_userBt_Click" HorizontalAlignment="Center" Margin="0,5,0,0">
            <Image Source="{Binding Path=User.ProfileImageUrl, Mode=Default}" Clip="M0,4.305 C0,1.9274142 1.9274142,0 4.305,0 L38.695,0 C41.072586,0 43,1.9274142 43,4.305 L43,38.695 C43,41.072586 41.072586,43 38.695,43 L4.305,43 C1.9274142,43 0,41.072586 0,38.695 z" Width="Auto" Height="Auto" Stretch="UniformToFill"/>
          </Button>
        </Grid>
        <Border x:Name="workingTaskContainer" HorizontalAlignment="Stretch" BorderBrush="Black" BorderThickness="1" Background="#4C000000" Visibility="Collapsed" Opacity="0">
          <StackPanel Orientation="Horizontal" d:LayoutOverrides="Height" HorizontalAlignment="Center" VerticalAlignment="Center">
            <TextBlock x:Name="_taskNaneTbk" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="26.667" Foreground="#FFEEEEEE" Text="Translating" TextWrapping="Wrap"/>
            <Grid Width="40" Height="40" Margin="10,0,0,0">
              <Canvas x:Name="Layer_1" Margin="0,-0.729,-44.049,-43" Width="Auto" Height="Auto" RenderTransformOrigin="0,0">
                <Canvas.RenderTransform>
                  <TransformGroup>
                    <ScaleTransform ScaleX="0.5" ScaleY="0.5"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                  </TransformGroup>
                </Canvas.RenderTransform>
                <Canvas x:Name="_bigWheel" Width="59.161" Height="59.161" Canvas.Left="24.888" Canvas.Top="24.568" RenderTransformOrigin="0.5,0.5">
                  <Canvas.RenderTransform>
                    <TransformGroup>
                      <ScaleTransform/>
                      <SkewTransform/>
                      <RotateTransform/>
                      <TranslateTransform/>
                    </TransformGroup>
                  </Canvas.RenderTransform>
                  <Path Stretch="Fill" Width="19.074" Height="19.075" Data="F1M50.809,44.602C45.953,46.641,43.666,52.219,45.69,57.082L45.69,57.082C47.732,61.939,53.307,64.224,58.17,62.203L58.17,62.203C63.026,60.163,65.314,54.586,63.291,49.723L63.291,49.723C61.753,46.065,58.213,43.864,54.482,43.864L54.482,43.864C53.257,43.864,52.012,44.101,50.809,44.602" Canvas.Left="20.065" Canvas.Top="20.025">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                  <Path Stretch="Fill" Width="59.161" Height="59.161" Data="F1M52.199,23.874C51.224,23.945,50.279,24.787,50.093,25.747L50.093,25.747C50.093,25.747,49.064,31.121,45.612,32.565L45.612,32.565C42.18,33.998,37.651,31.01,37.651,31.01L37.651,31.01C36.836,30.469,35.575,30.562,34.847,31.211L34.847,31.211L32.021,34.071C31.381,34.805,31.307,36.07,31.855,36.875L31.855,36.875C31.855,36.875,34.94,41.405,33.519,44.865L33.519,44.865C32.1,48.324,26.74,49.387,26.74,49.387L26.74,49.387C25.781,49.576,24.949,50.529,24.888,51.502L24.888,51.502L24.902,55.543C24.969,56.518,25.807,57.459,26.763,57.634L26.763,57.634C26.763,57.634,32.213,58.637,33.666,62.115L33.666,62.115C35.121,65.594,32.008,70.176,32.008,70.176L32.008,70.176C31.459,70.984,31.54,72.24,32.189,72.97L32.189,72.97L35.072,75.836C35.809,76.477,37.066,76.543,37.864,75.981L37.864,75.981C37.864,75.981,42.453,72.768,45.967,74.209L45.967,74.209C49.478,75.649,50.49,81.144,50.49,81.144L50.49,81.144C50.667,82.107,51.611,82.94,52.583,83L52.583,83L56.67,82.975C57.644,82.908,58.574,82.07,58.739,81.104L58.739,81.104C58.739,81.104,59.692,75.535,63.218,74.062L63.218,74.062C66.721,72.598,71.331,75.779,71.331,75.779L71.331,75.779C72.136,76.332,73.389,76.252,74.115,75.602L74.115,75.602L76.981,72.69C77.618,71.947,77.675,70.69,77.115,69.892L77.115,69.892C77.115,69.892,73.862,65.285,75.309,61.76L75.309,61.76C76.745,58.264,82.204,57.238,82.204,57.238L82.204,57.238C83.165,57.058,83.994,56.115,84.049,55.139L84.049,55.139L84.004,51.072C83.931,50.098,83.088,49.158,82.129,48.99L82.129,48.99C82.129,48.99,76.629,48.01,75.165,44.512L75.165,44.512C73.718,41.051,76.776,36.494,76.776,36.494L76.776,36.494C77.323,35.685,77.232,34.428,76.577,33.702L76.577,33.702L73.692,30.877C72.952,30.238,71.689,30.174,70.883,30.724L70.883,30.724C70.883,30.724,66.338,33.844,62.862,32.418L62.862,32.418C59.418,31.004,58.342,25.678,58.342,25.678L58.342,25.678C58.147,24.723,57.193,23.894,56.219,23.839L56.219,23.839z M40.696,59.17C37.51,51.549,41.104,42.795,48.721,39.607L48.721,39.607C56.343,36.424,65.096,40.016,68.283,47.635L68.283,47.635C71.47,55.256,67.877,64.01,60.258,67.195L60.258,67.195C58.373,67.983,56.418,68.357,54.495,68.357L54.495,68.357C48.647,68.357,43.095,64.904,40.696,59.17">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                </Canvas>
                <Canvas x:Name="_smallWheel" Width="37.767" Height="37.769" RenderTransformOrigin="0.5,0.5">
                  <Canvas.RenderTransform>
                    <TransformGroup>
                      <ScaleTransform/>
                      <SkewTransform/>
                      <RotateTransform/>
                      <TranslateTransform/>
                    </TransformGroup>
                  </Canvas.RenderTransform>
                  <Path Stretch="Fill" Width="12.725" Height="12.723" Data="F1M12.568,18.043C12.513,21.558,15.303,24.448,18.818,24.515L18.818,24.515C22.33,24.572,25.223,21.779,25.291,18.268L25.291,18.268C25.348,14.755,22.555,11.862,19.041,11.794L19.041,11.794C19.006,11.793,18.971,11.793,18.936,11.793L18.936,11.793C15.472,11.793,12.636,14.563,12.568,18.043" Canvas.Left="12.567" Canvas.Top="12.522">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                  <Path Stretch="Fill" Width="37.767" Height="37.769" Data="F1M13.286,-0.728999999999999C13.148,-0.727000000000004,13.011,-0.706000000000003,12.883,-0.664000000000001L12.883,-0.664000000000001L10.391,0.320999999999998C9.803,0.602000000000004,9.419,1.354,9.539,1.992L9.539,1.992C9.539,1.992,10.207,5.586,8.412,7.319L8.412,7.319C6.62,9.051,3.057,8.261,3.057,8.261L3.057,8.261C2.422,8.121,1.658,8.48099999999999,1.362,9.059L1.362,9.059L0.286,11.53C0.064,12.145,0.324,12.942,0.862,13.309L0.862,13.309C0.862,13.309,3.919,15.381,3.876,17.895L3.876,17.895C3.832,20.406,0.702,22.372,0.702,22.372L0.702,22.372C0.152,22.717,-0.137,23.508,0.064,24.125L0.064,24.125L1.057,26.649C1.334,27.24,2.084,27.618,2.723,27.488L2.723,27.488C2.723,27.488,6.386,26.754,8.147,28.578L8.147,28.578C9.903,30.397,9.047,34.027,9.047,34.027L9.047,34.027C8.9,34.66,9.251,35.421,9.829,35.723L9.829,35.723L12.332,36.801C12.947,37.022,13.738,36.758,14.098,36.213L14.098,36.213C14.098,36.213,16.173,33.066,18.721,33.111L18.721,33.111C21.252,33.156,23.216,36.336,23.216,36.336L23.216,36.336C23.559,36.893,24.344,37.177,24.963,36.975L24.963,36.975L27.492,35.963C28.082,35.682,28.455,34.932,28.324,34.291L28.324,34.291C28.324,34.291,27.575,30.609,29.404,28.842L29.404,28.842C31.217,27.092,34.827,27.93,34.827,27.93L34.827,27.93C35.461,28.077,36.221,27.721,36.516,27.141L36.516,27.141L37.58,24.645C37.797,24.03,37.532,23.233,36.992,22.871L36.992,22.871C36.992,22.871,33.897,20.796,33.94,18.269L33.94,18.269C33.984,15.767,37.075,13.805,37.075,13.805L37.075,13.805C37.623,13.455,37.906,12.664,37.7,12.045L37.7,12.045L36.697,9.547C36.415,8.95999999999999,35.663,8.58,35.022,8.7L35.022,8.7C35.022,8.7,31.41,9.386,29.669,7.584L29.669,7.584C27.945,5.798,28.715,2.25700000000001,28.715,2.25700000000001L28.715,2.25700000000001C28.851,1.62,28.492,0.859999999999999,27.912,0.563000000000002L27.912,0.563000000000002L25.447,-0.494C24.835,-0.710999999999999,24.03,-0.450999999999993,23.66,0.0870000000000033L23.66,0.0870000000000033C23.66,0.0870000000000033,21.59,3.093,19.094,3.048L19.094,3.048C16.616,3.004,14.65,-0.0370000000000061,14.65,-0.0370000000000061L14.65,-0.0370000000000061C14.378,-0.456000000000003,13.845,-0.721000000000004,13.332,-0.728999999999999L13.332,-0.728999999999999z M18.754,28.125C13.246,28.029,8.862,23.488,8.958,17.98L8.958,17.98C9.059,12.472,13.6,8.089,19.105,8.185L19.105,8.185C24.614,8.282,28.998,12.822,28.901,18.332L28.901,18.332C28.804,23.777,24.361,28.126,18.934,28.127L18.934,28.127C18.874,28.127,18.814,28.126,18.754,28.125" Canvas.Left="0" Canvas.Top="0">
                    <Path.Fill>
                      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFBDBDBD" Offset="1"/>
                      </LinearGradientBrush>
                    </Path.Fill>
                  </Path>
                </Canvas>
              </Canvas>
            </Grid>
          </StackPanel>
        </Border>
      </Grid>
      <DataTemplate.Triggers>
        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_replyBt">
          <BeginStoryboard x:Name="ExpandAll_BeginStoryboard" Storyboard="{StaticResource ExpandAll}"/>
        </EventTrigger>
        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_cancelBt">
          <BeginStoryboard x:Name="CollapseAll_BeginStoryboard" Storyboard="{StaticResource CollapseAll}"/>
        </EventTrigger>
        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_sendBt">
          <BeginStoryboard x:Name="CollapseAll_BeginStoryboard1" Storyboard="{StaticResource CollapseAll}"/>
        </EventTrigger>
        <DataTrigger Binding="{Binding IsBusy}" Value="True">
          <DataTrigger.EnterActions>
            <BeginStoryboard Storyboard="{StaticResource WheelsOn}" x:Name="OnWheelsOn"/>
            <BeginStoryboard Storyboard="{StaticResource BlurBackground}" x:Name="OnBlurBackground"/>
          </DataTrigger.EnterActions>
          <DataTrigger.ExitActions>
            <RemoveStoryboard BeginStoryboardName="OnWheelsOn" />
            <RemoveStoryboard BeginStoryboardName="OnBlurBackground" />
          </DataTrigger.ExitActions>
        </DataTrigger>
      </DataTemplate.Triggers>
    </DataTemplate>
		<ItemsPanelTemplate x:Key="ItemsPanelTemplate1">
			<VirtualizingStackPanel IsItemsHost="True"/>
		</ItemsPanelTemplate>
		<Style x:Key="ListBoxItemStyle1" TargetType="{x:Type ListBoxItem}">
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
			<Setter Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
			<Setter Property="Padding" Value="2,0,0,0"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type ListBoxItem}">
						<Border x:Name="Bd" SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
							<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
						</Border>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="BottomButtonStyle" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Border Margin="{TemplateBinding Padding}" BorderThickness="1,1,1,1" CornerRadius="3,3,3,3">
							<Border.BorderBrush>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FF2F5E7D" Offset="0"/>
									<GradientStop Color="#FF102B3E" Offset="0.224"/>
								</LinearGradientBrush>
							</Border.BorderBrush>
							<Border Width="102" Height="Auto" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1,1,1,1" CornerRadius="2,2,2,2">
								<ContentPresenter Width="Auto" Height="Auto" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" VerticalAlignment="Center"/>
							</Border>
						</Border>
						<ControlTemplate.Triggers>
							
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="StatusActionButtonStyle" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Border BorderThickness="0,0,1,0" BorderBrush="#FF081B28">
								<ContentPresenter Width="Auto" Height="Auto" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" HorizontalAlignment="Center" VerticalAlignment="Center"/>
							</Border>
						<ControlTemplate.Triggers>
							
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<LinearGradientBrush x:Key="TextBoxBorder" EndPoint="0,20" StartPoint="0,0" MappingMode="Absolute">
			<GradientStop Color="#ABADB3" Offset="0.05"/>
			<GradientStop Color="#E2E3EA" Offset="0.07"/>
			<GradientStop Color="#E3E9EF" Offset="1"/>
		</LinearGradientBrush>
		<Style x:Key="MessageTextboxStyle" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
			<Setter Property="BorderBrush" Value="{StaticResource TextBoxBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="AllowDrop" Value="true"/>
			<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type TextBox}">
						<Microsoft_Windows_Themes:ListBoxChrome x:Name="Bd" SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" RenderFocused="{TemplateBinding IsKeyboardFocusWithin}" RenderMouseOver="{TemplateBinding IsMouseOver}">
							<Grid Height="Auto">
								<TextBlock x:Name="_charLeft" HorizontalAlignment="Right" VerticalAlignment="Top" FontFamily="Century Gothic" FontSize="30" FontStyle="Italic" TextWrapping="Wrap" Text="{TemplateBinding Text, Converter={StaticResource CharactersLeftConverter}}">
									<TextBlock.Foreground>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="#FFBBBBBB" Offset="0"/>
											<GradientStop Color="#FFDCDCDC" Offset="1"/>
										</LinearGradientBrush>
									</TextBlock.Foreground>
								</TextBlock>
								<ScrollViewer x:Name="PART_ContentHost" Margin="0,0,0,-0.001" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" d:LayoutOverrides="Height" Template="{DynamicResource ScrollViewerControlTemplate1}"/>
							</Grid>
						</Microsoft_Windows_Themes:ListBoxChrome>
						<ControlTemplate.Triggers>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Background" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
								<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<ControlTemplate x:Key="ScrollViewerControlTemplate1" TargetType="{x:Type ScrollViewer}">
			<Grid x:Name="Grid" Background="{TemplateBinding Background}">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"/>
					<ColumnDefinition Width="Auto"/>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="*"/>
					<RowDefinition Height="Auto"/>
				</Grid.RowDefinitions>
				<Rectangle x:Name="Corner" Fill="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" Grid.Column="1" Grid.Row="1"/>
				<ScrollContentPresenter x:Name="PART_ScrollContentPresenter" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Grid.Column="0" Grid.Row="0" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False"/>
				<ScrollBar x:Name="PART_VerticalScrollBar" Cursor="Arrow" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Grid.Column="1" Grid.Row="0" AutomationProperties.AutomationId="VerticalScrollBar" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}"/>
				<ScrollBar x:Name="PART_HorizontalScrollBar" Cursor="Arrow" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Grid.Column="0" Grid.Row="1" AutomationProperties.AutomationId="HorizontalScrollBar" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}"/>
			</Grid>
		</ControlTemplate>
		<Style x:Key="{x:Type TextBoxBase}" BasedOn="{x:Null}" TargetType="{x:Type TextBoxBase}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
			<Setter Property="BorderBrush" Value="{StaticResource TextBoxBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="AllowDrop" Value="true"/>
			<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type TextBoxBase}">
						<Border>
								<ScrollViewer x:Name="PART_ContentHost" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Width="228.943" Height="61"/>
							</Border>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ExRichTextBoxStyle1" TargetType="{x:Type myTwitter_CustomControls:ExRichTextBox}">
			<Style.Resources>
				<Style x:Key="{x:Type FlowDocument}" TargetType="{x:Type FlowDocument}">
					<Setter Property="OverridesDefaultStyle" Value="true"/>
				</Style>
			</Style.Resources>
			<Setter Property="MinWidth" Value="10"/>
			<Style.BasedOn>
				<StaticResource ResourceKey="{x:Type TextBoxBase}"/>
			</Style.BasedOn>
		</Style>
		<SampleData:SampleDataSource x:Key="SampleDataSource" d:IsDataSource="True"/>		
		<SolidColorBrush x:Key="ListBorder" Color="#828790"/>
		<myTwitter_Model:Singletons x:Key="SingletonsDataSource" d:IsDataSource="True"/>
		<Storyboard x:Key="ShowMessages">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1" KeySpline="0,1,1,1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="HideMessages">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" KeySpline="0,1,1,1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Style x:Key="TransparentButtonStyle" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True"/>
						<ControlTemplate.Triggers>
							
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="BackButtonStyle" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Border Width="Auto" Height="Auto" BorderThickness="1,1,1,1" CornerRadius="5,5,5,5">
							<Border.BorderBrush>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FF0E181F" Offset="0"/>
									<GradientStop Color="#FF1E4863" Offset="1"/>
									<GradientStop Color="#FF0A1C29" Offset="0.5"/>
								</LinearGradientBrush>
							</Border.BorderBrush>
							<Border BorderThickness="1,1,1,1" CornerRadius="4,4,4,4">
								<Border.BorderBrush>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF3975A3" Offset="0"/>
										<GradientStop Color="#FF10293C" Offset="0.858"/>
									</LinearGradientBrush>
								</Border.BorderBrush>
								<Border BorderBrush="{x:Null}" CornerRadius="4,4,4,4">
									<Border.Background>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="#FF0B2233" Offset="0"/>
											<GradientStop Color="#FF1C3F56" Offset="1"/>
											<GradientStop Color="#FF133043" Offset="0.801"/>
										</LinearGradientBrush>
									</Border.Background>
									<Grid>
										<Grid.RowDefinitions>
											<RowDefinition Height="0.502*"/>
											<RowDefinition Height="0.498*"/>
										</Grid.RowDefinitions>
										<StackPanel Grid.RowSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
											<Grid Width="Auto" Height="Auto" Margin="0,0,0,0">
												<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="{x:Null}" Width="9.695" Data="M5.6633333,0 L9.6954332,4.9236958E-15 4.4420999,5.1263298 9.6954332,10 5.6633333,10 0,5.1066667 z" Margin="0,2.98,0,2.98" Height="15.04" RenderTransformOrigin="0.5,0.5">
													<Path.RenderTransform>
														<TransformGroup>
															<ScaleTransform ScaleX="0.8" ScaleY="0.6"/>
															<SkewTransform AngleX="0" AngleY="0"/>
															<RotateTransform Angle="0"/>
															<TranslateTransform X="0" Y="0"/>
														</TransformGroup>
													</Path.RenderTransform>
												</Path>
												<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="{x:Null}" Margin="-7.1,2.98,0.063,2.98" Width="9.694" Height="15.04" RenderTransformOrigin="0.5,0.5" Data="M5.6633333,0 L9.6954332,4.9236958E-15 4.4420999,5.1263298 9.6954332,10 5.6633333,10 0,5.1066667 z" HorizontalAlignment="Left">
													<Path.RenderTransform>
														<TransformGroup>
															<ScaleTransform ScaleX="0.8" ScaleY="0.6"/>
															<SkewTransform AngleX="0" AngleY="0"/>
															<RotateTransform Angle="0"/>
															<TranslateTransform X="0" Y="0"/>
														</TransformGroup>
													</Path.RenderTransform>
												</Path>
											</Grid>
											<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Margin="10,0,0,0"/>
										</StackPanel>
										<Border BorderBrush="{x:Null}" BorderThickness="0,0,0,0" Grid.RowSpan="1" CornerRadius="3,3,2,2">
											<Border.Background>
												<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
													<GradientStop Color="#99AED6F0" Offset="0"/>
													<GradientStop Color="#1971A4C5" Offset="1"/>
												</LinearGradientBrush>
											</Border.Background>
										</Border>
									</Grid>
								</Border>
							</Border>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsKeyboardFocused" Value="true"/>
							<Trigger Property="ToggleButton.IsChecked" Value="true"/>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Storyboard x:Key="LoadingOn">
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00" Value="#00000000"/>
				<SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#33000000" KeySpline="0,1,1,1"/>
			</ColorAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="15" KeySpline="0,1,1,1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="LoadingOff">
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#00000000" KeySpline="0,1,1,1"/>
			</ColorAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00.3000000" Value="{x:Static Visibility.Hidden}"/>
			</ObjectAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" KeySpline="0,1,1,1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>

  </ResourceDictionary>
</UserControl.Resources>
	<!--<UserControl.DataContext>
		<Binding Path="Mentions" Mode="Default" Source="{StaticResource SampleDataSource}"/>
	</UserControl.DataContext>-->
	<UserControl.DataContext>
		<Binding Path="Twitter.AllReceivedMessages" Mode="Default" Source="{StaticResource SingletonsDataSource}"/>
	</UserControl.DataContext>

	<Grid x:Name="LayoutRoot_Copy" HorizontalAlignment="Left" d:LayoutOverrides="Height" VerticalAlignment="Bottom">
		<Grid.Background>
			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
				<GradientStop Color="#FF112D3F" Offset="0"/>
				<GradientStop Color="#FF07151F" Offset="1"/>
				<GradientStop Color="#FF143449" Offset="0.274"/>
			</LinearGradientBrush>
		</Grid.Background>
		
		<Grid x:Name="LayoutRoot" VerticalAlignment="Bottom" Opacity="1">
			<Grid.Effect>
				<BlurEffect Radius="0"/>
			</Grid.Effect>
			<StackPanel x:Name="stackPanel" Opacity="1" Width="Auto" Height="Auto" Orientation="Horizontal">
        <ListBox x:Name="_messageLbx" Foreground="{x:Null}" IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding}" ItemsPanel="{DynamicResource ItemsPanelTemplate1}" SelectedIndex="0" Background="#FF1B3B50" BorderBrush="{x:Null}" ItemContainerStyle="{DynamicResource ListBoxItemStyle1}" FontFamily="Calibri" ScrollViewer.VerticalScrollBarVisibility="Disabled" BorderThickness="1,1,1,0" VerticalContentAlignment="Top" Width="298" Height="427" FontSize="12" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5" ItemTemplateSelector="{Binding Path=IMessageTemplateSelector, Mode=Default, Source={StaticResource SingletonsDataSource}}">
          <!--<ListBox x:Name="_messageLbx" Foreground="{x:Null}" IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding}" ItemsPanel="{DynamicResource ItemsPanelTemplate1}" SelectedIndex="0" Background="#FF1B3B50" BorderBrush="{x:Null}" ItemContainerStyle="{DynamicResource ListBoxItemStyle1}" FontFamily="Calibri" ScrollViewer.VerticalScrollBarVisibility="Disabled" BorderThickness="1,1,1,0" VerticalContentAlignment="Top" Width="298" Height="427" FontSize="12" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5" ItemTemplate="{DynamicResource DirectMessageTemplate}">-->
					<ListBox.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</ListBox.RenderTransform>
				</ListBox>
			</StackPanel>
		</Grid>
		<Grid x:Name="grid" Background="#00000000" Visibility="Hidden">
			<myBoard_Framework_Controls:PreLoader x:Name="_preLoader" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5" Foreground="{x:Null}" HorizontalAlignment="Center" RingBackground="#6E4699CA" AutoRemoveFromContainer="False" d:LayoutOverrides="Height">
				<myBoard_Framework_Controls:PreLoader.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="1" ScaleY="1"/>
						<SkewTransform AngleX="0" AngleY="0"/>
						<RotateTransform Angle="0"/>
						<TranslateTransform X="0" Y="0"/>
					</TransformGroup>
				</myBoard_Framework_Controls:PreLoader.RenderTransform>
			</myBoard_Framework_Controls:PreLoader>
		</Grid>
	</Grid>
</UserControl>